import request from '@/api/request'

// 新研学首页轮播图接口
export const getHomeBannerRecommend = (data) => {
  return request({
    url: `/newresearch/api/crowdfunding/paper/searchPage`,
    method: 'POST',
    data,
    loading: true,
  })
}

// 新研学首页新产品推荐
export const getHomeFundingRecommend = (data) => {
  return request({
    url: `/newresearch/api/crowdfunding/recommend/searchPage`,
    method: 'POST',
    data,
    loading: true,
  })
}

// 新研学首页新研究推荐
export const getHomeArticleRecommend = (data) => {
  return request({
    url: `/newresearch/api/paper/recommend/searchPage`,
    method: 'POST',
    data,
    loading: true,
  })
}
